class Ckeck
{
  /**
   *
   * 判断用户权限
   * @static
   * @param {*} user_id
   * @returns
   * @memberof Ckeck
   */
  static user_isLogin(user_id){
    return new Promise((resolve, reject) => {
      if(user_id){
        resolve({status:true,msg:'ok'})
      }else{
        resolve({status:false,msg:'请求失败，请登入'})
      }
    });
  }

  /**
   *
   * 检测用户权限
   * @static
   * @memberof Ckeck
   */
  static check_authority(){
    return new Promise((resolve, reject) => {
      
      resolve()
    });
  }
}

module.exports = Ckeck